package com.wx.websocket.dao;

import com.wx.websocket.entity.User;

import java.util.List;

/**
 * Created by Administrator on 2017/1/2.
 */
public interface UserMapperDao {
    /**
     * 获取到所有的用户信息
     * @return
     */
    public List<User> getAllUser();

    /**
     * 判断用户名和密码是否正确
     * @param userName
     * @param password
     * @return
     */
    public User userLogin(String userName,String password);
}
